package org.mall.modules.shop.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description: 商铺
 * @Author: jeecg-boot
 * @Date:   2019-10-23
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ShopDTO implements Serializable {

	/**id*/
	private String id;
	/**店铺名称*/
	@Excel(name = "店铺名称", width = 15)
	@NotNull(message = "商店名称不允许为空呢")
	private String shopName;
	/**店铺照片*/
	@Excel(name = "店铺照片", width = 15)
	private String shopPhoto;
	/**店铺类型0：百货，1：超市，2：五金*/
	@Excel(name = "店铺类型0：百货，1：超市，2：五金", width = 15)
	private Integer shopType;
	/**状态:待审核,已审核,审核未通过,关闭*/
	@Excel(name = "状态:待审核,已审核,审核未通过,关闭", width = 15)
	private Integer shopStatus;
	/**公司名称*/
	@Excel(name = "公司名称", width = 15)
	private String companyName;
	/**店铺logo图*/
	@Excel(name = "店铺logo图", width = 15)
	private String logoPic;
	/**店铺简介*/
	@Excel(name = "店铺简介", width = 15)
	private String brief;
	/**公司email*/
	@Excel(name = "公司email", width = 15)
	private String email;
	/**公司手机*/
	@Excel(name = "公司手机", width = 15)
	@NotNull(message = "手机号不允许为空")
	private String mobile;
	/**公司电话*/
	@Excel(name = "公司电话", width = 15)
	private String telephone;
	/**联系人姓名*/
	@Excel(name = "联系人姓名", width = 15)
	@NotNull(message = "联系人不允许为空")
	private String linkmanName;
	/**联系人qq*/
	@Excel(name = "联系人qq", width = 15)
	private String linkmanQq;
	/**联系人电话*/
	@Excel(name = "联系人电话", width = 15)
	@NotNull(message = "联系人电话不允许为空")
	private String linkmanMobile;
	/**联系人email*/
	@Excel(name = "联系人email", width = 15)
	private String linkmanEmail;
	/**营业执照号*/
	@Excel(name = "营业执照号", width = 15)
	private String licenseNumber;
	/**税务登记号*/
	@Excel(name = "税务登记号", width = 15)
	private String taxNumber;
	/**组织机构号码*/
	@Excel(name = "组织机构号码", width = 15)
	private String orgNumber;
	/**店铺地址*/
	@Excel(name = "店铺地址", width = 15)
	@NotNull(message = "详细地址不允许为空")
	private String shopAddress;
	/**详细地址*/
	@Excel(name = "详细地址", width = 15)
	private String addressDetail;
	/**法定代表人*/
	@Excel(name = "法定代表人", width = 15)
	private String legalPerson;
	/**法定代表人身份证*/
	@Excel(name = "法定代表人身份证", width = 15)
	private String legalPersonCardId;
	/**开户行支行*/
	@Excel(name = "开户行支行", width = 15)
	private String bankName;
	/**开户行账号名称*/
	@Excel(name = "开户行账号名称", width = 15)
	private String bankUser;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15)
	private java.util.Date createTime;

	@NotNull( message = "经度信息不允许为空")
	private String coordinate;

	private String verificationCode;

	/**是否删除(0：未删除，1：已删除)*/
	private Integer isDelete;

    private Integer income;

    private String clerkId;


}
